<template>
  <div id="app">
<!-- 首页分析页面结构为左右结构 -->
    <el-container>
      <!-- 左边,左边下面又分为 上下 -->
      <el-aside width="200px">
        <!-- 放logo的容器 -->
        <div class="logo-wrap"></div>
        <!-- 放菜单的容器 -->
        <div class="menu-wrap"></div>
      </el-aside>
       <!-- 右边 -->
      <el-container>
        <!-- 右上 -->
        <el-header class="">Header</el-header>
         <!-- 右中 ，再把右中分为导航、内容（列表搜索、列表、分页）-->
        <el-main>
          <div class="nav-wrap"></div>
          <div class="content-wrap"></div>
        </el-main>
         <!-- 右下 ，这里一般放网站信息-->
        <el-footer>Footer</el-footer>
      </el-container>
    </el-container>
  </div>
</template>

<script>
export default {
    data() {

    }
  };
</script>
<style>
#app {
  height: 100%;
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}
#app .el-container{
  height: 100%;
}
#app .logo-wrap{
  height: 60px;
  background: rosybrown;
}
#app .el-header {
    height: 60px;
    background: rebeccapurple;
}
#app .el-main {
    padding: 0px;
}
#app .menu-wrap{
  height: calc(100% - 60px);
  background: cadetblue;
}
#app .nav-wrap{
  height: 30px;
  background: #e5b875;
}
#app .content-wrap{
background: darkgoldenrod;
}

#nav {
  padding: 30px;
}

#nav a {
  font-weight: bold;
  color: #2c3e50;
}

#nav a.router-link-exact-active {
  color: #42b983;
}
.el-header {
    background-color: #B3C0D1;
    color: #333; 
    line-height: 60px;
  } 
  .el-aside {
    color: #333;   
    background: red ;
}
.el-main {
  background: skyblue;
}
.el-footer{
  background: rosybrown;
}
  .bg-purple {
    background: #d3dce6;
  }
   


</style>
